package ch.zbw.pra.sysventory.business.businessObject.user;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import ch.zbw.pra.sysventory.business.businessObject.user.UserBusinessObject;
import ch.zbw.pra.sysventory.model.User;

/**
 * 
 * 
 * @author 
 */

public class UserBusinessObject implements Serializable {

	private static final long serialVersionUID = 1803103428777661071L;

	public List<User> getAllUsersFromDataAccess() {
		List<User> userlist = new ArrayList<User>();
		User user1 = new User();
		User user2 = new User();

		user1.setUsername("inventor");
		user1.setPassword("inventor");
		user1.setRole(1);

		user2.setUsername("visitor");
		user2.setPassword("visitor");
		user2.setRole(2);

		userlist.add(user1);
		userlist.add(user2);

		return userlist;
	}

}
